<div class="field grid">
  <label class="col-12 mb-2 md:col-2 md:mb-0">Plc IP地址</label>
  <div class="col-12 md:col-10">
    <input type="text"
    pInputText
    [required]="true"
    class="w-full p-inputtext-sm"
    placeholder="Plc IP地址"
    [(ngModel)]="plc.Ip" />
  </div>
</div>
<div class="field grid">
  <label class="col-12 mb-2 md:col-2 md:mb-0">端口</label>
  <div class="col-12 md:col-10">
    <p-inputNumber type="text"
    class="w-full p-inputtext-sm"
    placeholder="端口"
    [(ngModel)]="plc.Port" />
  </div>
</div>
<div class="field grid">
  <label class="col-12 mb-2 md:col-2 md:mb-0">更新间隔（毫秒）</label>
  <div class="col-12 md:col-10">
    <p-inputNumber type="text"
    class="w-full p-inputtext-sm"
    placeholder="更新间隔（毫秒）"
    [(ngModel)]="plc.Interval" />
  </div>
</div>